<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>EvoDevo: MTRand Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generated by Doxygen 1.6.2-20100208 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <img id="MSearchSelect" src="search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="Search" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)" 
             onblur="searchBox.OnSearchFieldFocus(false)" 
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>MTRand Class Reference</h1><!-- doxytag: class="MTRand" -->
<p><a href="classMTRand-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom">{ <b>N</b> =  624
 }</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom">{ <b>SAVE</b> =  N + 1
 }</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a45478edf9e24dcd2a5164bac3889d6a2"></a><!-- doxytag: member="MTRand::uint32" ref="a45478edf9e24dcd2a5164bac3889d6a2" args="" -->
typedef unsigned long&nbsp;</td><td class="memItemRight" valign="bottom"><b>uint32</b></td></tr>
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a172bc7e7cf1e578ef3f9c90a8cee3eb1"></a><!-- doxytag: member="MTRand::MTRand" ref="a172bc7e7cf1e578ef3f9c90a8cee3eb1" args="(const uint32 oneSeed)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><b>MTRand</b> (const uint32 oneSeed)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a380e79e0192b46426abcefa6e2dd082e"></a><!-- doxytag: member="MTRand::MTRand" ref="a380e79e0192b46426abcefa6e2dd082e" args="(uint32 *const bigSeed, uint32 const seedLength=N)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><b>MTRand</b> (uint32 *const bigSeed, uint32 const seedLength=N)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aff69d4a4ec88475bab03a295e8fb0f60"></a><!-- doxytag: member="MTRand::MTRand" ref="aff69d4a4ec88475bab03a295e8fb0f60" args="(const MTRand &amp;o)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><b>MTRand</b> (const <a class="el" href="classMTRand.html">MTRand</a> &amp;o)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad1008efd4fe0e8aae30459c2c58cfe35"></a><!-- doxytag: member="MTRand::randInt" ref="ad1008efd4fe0e8aae30459c2c58cfe35" args="()" -->
uint32&nbsp;</td><td class="memItemRight" valign="bottom"><b>randInt</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3515bbf6e1b46680a4ce6968451942b6"></a><!-- doxytag: member="MTRand::randInt" ref="a3515bbf6e1b46680a4ce6968451942b6" args="(const uint32 n)" -->
uint32&nbsp;</td><td class="memItemRight" valign="bottom"><b>randInt</b> (const uint32 n)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a76d129a2d850c24ff4a0613f299cf3a5"></a><!-- doxytag: member="MTRand::rand" ref="a76d129a2d850c24ff4a0613f299cf3a5" args="()" -->
double&nbsp;</td><td class="memItemRight" valign="bottom"><b>rand</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa4fe82fc27fd81414ce7554093a9766b"></a><!-- doxytag: member="MTRand::rand" ref="aa4fe82fc27fd81414ce7554093a9766b" args="(const double n)" -->
double&nbsp;</td><td class="memItemRight" valign="bottom"><b>rand</b> (const double n)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afd05e468983b3a3d66ce0f403bd666af"></a><!-- doxytag: member="MTRand::randExc" ref="afd05e468983b3a3d66ce0f403bd666af" args="()" -->
double&nbsp;</td><td class="memItemRight" valign="bottom"><b>randExc</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa1e89d6c7ac8737567b3ccf8fe70b6de"></a><!-- doxytag: member="MTRand::randExc" ref="aa1e89d6c7ac8737567b3ccf8fe70b6de" args="(const double n)" -->
double&nbsp;</td><td class="memItemRight" valign="bottom"><b>randExc</b> (const double n)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4d3a475aa72fe6d1a6d7d9e16d6a732e"></a><!-- doxytag: member="MTRand::randDblExc" ref="a4d3a475aa72fe6d1a6d7d9e16d6a732e" args="()" -->
double&nbsp;</td><td class="memItemRight" valign="bottom"><b>randDblExc</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1a81d8f00de8f553d4b8626d64e1c544"></a><!-- doxytag: member="MTRand::randDblExc" ref="a1a81d8f00de8f553d4b8626d64e1c544" args="(const double n)" -->
double&nbsp;</td><td class="memItemRight" valign="bottom"><b>randDblExc</b> (const double n)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abbb87a08d622d58fdee0eea4cb5471a0"></a><!-- doxytag: member="MTRand::operator()" ref="abbb87a08d622d58fdee0eea4cb5471a0" args="()" -->
double&nbsp;</td><td class="memItemRight" valign="bottom"><b>operator()</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a15f4daf79febbe4ff43c3e6ce2c4fcbe"></a><!-- doxytag: member="MTRand::rand53" ref="a15f4daf79febbe4ff43c3e6ce2c4fcbe" args="()" -->
double&nbsp;</td><td class="memItemRight" valign="bottom"><b>rand53</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4c284f626b6d40a0367ff2a949ea1944"></a><!-- doxytag: member="MTRand::randNorm" ref="a4c284f626b6d40a0367ff2a949ea1944" args="(const double mean=0.0, const double stddev=1.0)" -->
double&nbsp;</td><td class="memItemRight" valign="bottom"><b>randNorm</b> (const double mean=0.0, const double stddev=1.0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1e21a79e0a30225fffe924229e34a923"></a><!-- doxytag: member="MTRand::seed" ref="a1e21a79e0a30225fffe924229e34a923" args="(const uint32 oneSeed)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>seed</b> (const uint32 oneSeed)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5758103776b131e8ea46b6dc1b9fb267"></a><!-- doxytag: member="MTRand::seed" ref="a5758103776b131e8ea46b6dc1b9fb267" args="(uint32 *const bigSeed, const uint32 seedLength=N)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>seed</b> (uint32 *const bigSeed, const uint32 seedLength=N)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad88ea3363d55bafb62826bbd130279c2"></a><!-- doxytag: member="MTRand::seed" ref="ad88ea3363d55bafb62826bbd130279c2" args="()" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>seed</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad60e0f3f5c90baab75b74f9a2ccae871"></a><!-- doxytag: member="MTRand::save" ref="ad60e0f3f5c90baab75b74f9a2ccae871" args="(uint32 *saveArray) const " -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>save</b> (uint32 *saveArray) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8302e9a8cd16d8dfc536a85bf2f68be0"></a><!-- doxytag: member="MTRand::load" ref="a8302e9a8cd16d8dfc536a85bf2f68be0" args="(uint32 *const loadArray)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>load</b> (uint32 *const loadArray)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3a6eb21add6f6ef4ce2d3280f2518521"></a><!-- doxytag: member="MTRand::operator=" ref="a3a6eb21add6f6ef4ce2d3280f2518521" args="(const MTRand &amp;o)" -->
<a class="el" href="classMTRand.html">MTRand</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classMTRand.html">MTRand</a> &amp;o)</td></tr>
<tr><td colspan="2"><h2>Protected Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom">{ <b>M</b> =  397
 }</td></tr>
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9b9a20998f5c805af6301ce5c37dcfc3"></a><!-- doxytag: member="MTRand::initialize" ref="a9b9a20998f5c805af6301ce5c37dcfc3" args="(const uint32 oneSeed)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>initialize</b> (const uint32 oneSeed)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1d5fcb69d83f4d2fd653883c8352f86c"></a><!-- doxytag: member="MTRand::reload" ref="a1d5fcb69d83f4d2fd653883c8352f86c" args="()" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>reload</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a45eea926a0602e4bb5c0b90b04779826"></a><!-- doxytag: member="MTRand::hiBit" ref="a45eea926a0602e4bb5c0b90b04779826" args="(const uint32 u) const " -->
uint32&nbsp;</td><td class="memItemRight" valign="bottom"><b>hiBit</b> (const uint32 u) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6f5a4a532e1c3acd42052046594205be"></a><!-- doxytag: member="MTRand::loBit" ref="a6f5a4a532e1c3acd42052046594205be" args="(const uint32 u) const " -->
uint32&nbsp;</td><td class="memItemRight" valign="bottom"><b>loBit</b> (const uint32 u) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad846f81f7abfc1b20c51d1563b8e5d45"></a><!-- doxytag: member="MTRand::loBits" ref="ad846f81f7abfc1b20c51d1563b8e5d45" args="(const uint32 u) const " -->
uint32&nbsp;</td><td class="memItemRight" valign="bottom"><b>loBits</b> (const uint32 u) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abdd5587252ed1ac89cb274e4bf4881da"></a><!-- doxytag: member="MTRand::mixBits" ref="abdd5587252ed1ac89cb274e4bf4881da" args="(const uint32 u, const uint32 v) const " -->
uint32&nbsp;</td><td class="memItemRight" valign="bottom"><b>mixBits</b> (const uint32 u, const uint32 v) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8539a48116c85704c5101981cb0823e7"></a><!-- doxytag: member="MTRand::magic" ref="a8539a48116c85704c5101981cb0823e7" args="(const uint32 u) const " -->
uint32&nbsp;</td><td class="memItemRight" valign="bottom"><b>magic</b> (const uint32 u) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acf32530212717166e3d02dd3cc0b68c4"></a><!-- doxytag: member="MTRand::twist" ref="acf32530212717166e3d02dd3cc0b68c4" args="(const uint32 m, const uint32 s0, const uint32 s1) const " -->
uint32&nbsp;</td><td class="memItemRight" valign="bottom"><b>twist</b> (const uint32 m, const uint32 s0, const uint32 s1) const </td></tr>
<tr><td colspan="2"><h2>Static Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a486885d03f38c844315d002e6312fa23"></a><!-- doxytag: member="MTRand::hash" ref="a486885d03f38c844315d002e6312fa23" args="(time_t t, clock_t c)" -->
static uint32&nbsp;</td><td class="memItemRight" valign="bottom"><b>hash</b> (time_t t, clock_t c)</td></tr>
<tr><td colspan="2"><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2c87f537429bf0b0f6a452c22b9eebba"></a><!-- doxytag: member="MTRand::state" ref="a2c87f537429bf0b0f6a452c22b9eebba" args="[N]" -->
uint32&nbsp;</td><td class="memItemRight" valign="bottom"><b>state</b> [N]</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2b80858137c88fe69d4d2bdc665bcf93"></a><!-- doxytag: member="MTRand::pNext" ref="a2b80858137c88fe69d4d2bdc665bcf93" args="" -->
uint32 *&nbsp;</td><td class="memItemRight" valign="bottom"><b>pNext</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a98eabf568c88f121e44f487397f32495"></a><!-- doxytag: member="MTRand::left" ref="a98eabf568c88f121e44f487397f32495" args="" -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><b>left</b></td></tr>
<tr><td colspan="2"><h2>Friends</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a059061d50a1e54ee3067d4e1dbdd7c64"></a><!-- doxytag: member="MTRand::operator&lt;&lt;" ref="a059061d50a1e54ee3067d4e1dbdd7c64" args="(std::ostream &amp;os, const MTRand &amp;mtrand)" -->
std::ostream &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><b>operator&lt;&lt;</b> (std::ostream &amp;os, const <a class="el" href="classMTRand.html">MTRand</a> &amp;mtrand)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a45b02a702835a3be42171c5c2dc79b2d"></a><!-- doxytag: member="MTRand::operator&gt;&gt;" ref="a45b02a702835a3be42171c5c2dc79b2d" args="(std::istream &amp;is, MTRand &amp;mtrand)" -->
std::istream &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><b>operator&gt;&gt;</b> (std::istream &amp;is, <a class="el" href="classMTRand.html">MTRand</a> &amp;mtrand)</td></tr>
</table>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="MersenneTwister_8h_source.html">MersenneTwister.h</a></li>
</ul>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Functions</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address style="text-align: right;"><small>Generated by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2-20100208 </small></address>
</body>
</html>
